import { Component, OnInit, EventEmitter, Input } from '@angular/core';
import { BsModalService } from 'ngx-bootstrap/modal';
import { BsModalRef } from 'ngx-bootstrap/modal/modal-options.class';

@Component({
  selector: 'app-confirm',
  templateUrl: './confirm.html',
  styleUrls: ['./confirm.css']
})
export class ConfirmComponent implements OnInit {

  confirm: EventEmitter<any> = new EventEmitter();

  constructor(
    // private bsModalRef: BsModalRef
    public bsModalRef: BsModalRef
  ) {}

  ngOnInit() {}

  confirmMethod() {
    this.bsModalRef.hide()
  }

}
